package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordother.bo.request;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 不安全事件其他表
 *
 * @author Liby
 * @date 2025-02-18
 */
@Data
@ApiModel(description = "不安全事件其他公共事件")
public class BaqsjRecordOtherPublic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "事件明细ID")
    private Long id;
    @ApiModelProperty(value = "事件记录ID")
    private Long eventId;
    @ApiModelProperty(value = "公共事件类型：490-火灾，491-水灾，492-停电，493-触电，494-电梯故障，495-公共设施故障，496-化学物质外泄，497-辐射物质外泄，498-消防警报异常，499-机构建筑物异常，500-水电空调、医疗气体供应异常，501-地震，502-其他")
    private String publicType;
    @ApiModelProperty(value = "公共事件其他说明")
    private String publicTypeOther;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "更新人")
    private String updateBy;

}
